<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>我的办卡记录</title>
		<meta name="viewport" content="initial-scale=1, maximum-scale=1">
		<link rel="shortcut icon" href="{$_W['siteroot']}/addons/lanye_wd/static/images/favicon.ico">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/light7.css">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/icon.css">
		<link rel="stylesheet" href="{$_W['siteroot']}/addons/lanye_wd/static/css/style.css?v={$_W['timestamp']}">
	</head>

	<body>
		<div class="page page-current">
			<div class="content">
				
				<div class="list-block media-list no-margin list-border-none">
					<ul>
						{loop $logs $row}
						<li>
							<div class="item-content">
								{if $row['type'] == 1}
								<div class="item-media"><img src="{$_W['attachurl']}{$banks[$row['bank']]['photo']}" style='width:2.2rem;'></div>
                                {else}
								<div class="item-media"><img src="{$_W['attachurl']}{$lends[$row['bank']]['icon']}" style='width:2.2rem;'></div>
								{/if}
								<div class="item-inner">
									<div class="item-title-row">
										{if $row['type'] == 1}
										<div class="item-title">{$banks[$row['bank']]['title']}</div>
										{else}
										<div class="item-title">{$lends[$row['bank']]['title']}</div>
										{/if}
									</div>
									<small class="item-subtitle color-gray">申请时间: {php echo date('Y年m月d日',$row['createtime'])}
										<span style="float: right">
											{php echo $statusText[$row['status']]}
										</span>
									</small>
								</div>
							</div>
						</li>
						{/loop}
					</ul>
				</div>
				
				
			</div>
			<nav class="bar bar-tab">
				<a class="tab-item external" href="{php echo $this->createMobileUrl('index')}">
					<span class="icon mdi mdi-home"></span>
					<span class="tab-label">办卡</span>
				</a>
				<a class="tab-item external" href="{php echo $this->createMobileUrl('lend')}">
					<span class="icon mdi mdi-layers"></span>
					<span class="tab-label">用钱</span>
				</a>
				<a class="tab-item external" href="{php echo $this->createMobileUrl('news')}">
					<span class="icon mdi mdi-file-document"></span>
					<span class="tab-label">资讯</span>
				</a>
				<a class="tab-item external active" href="{php echo $this->createMobileUrl('user')}">
					<span class="icon mdi mdi-account-circle"></span>
					<span class="tab-label">我的</span>
				</a>
			</nav>
		</div>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/jquery.js"></script>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/light7.js"></script>
		<script src="{$_W['siteroot']}/addons/lanye_wd/static/js/common.js?v={$_W['timestamp']}"></script>
		{php echo register_jssdk(false);} 
		<script>
			wx.ready(function () {
		        sharedata = {
		            title: "{$config['share_title']}",
		            desc: "{$config['share_desc']}",
		            link: "{$_W['siteroot']}{php echo $this->createMobileUrl('index',array('cc' => $_W['member']['uid']))}",
		            imgUrl: "{$_W['attachurl']}{$config['share_img']}",//本域链接
		        };
				wx.onMenuShareAppMessage(sharedata);
				wx.onMenuShareTimeline(sharedata);
				wx.onMenuShareQQ(sharedata);
				wx.onMenuShareQZone(sharedata);
				wx.onMenuShareWeibo(sharedata);
			});
		</script>
	</body>
</html>